package com.syspeak.modules.spring.web.servlet.mvc.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.web.bind.annotation.Mapping;

@Target({ ElementType.PARAMETER, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Mapping
public @interface JsonConfig {
	String includeProperties() default "";

	String excludeProperties() default "";

	String[] ignoreProperties() default "";

	boolean excludeNullProperties() default false;

	int statusCode() default 0;

	int errorCode() default 0;
}
